package com.slf.demo.openapi;

import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import io.swagger.v3.oas.annotations.info.Info;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author slf
 * @date 2021/8/12
 */
@OpenAPIDefinition(
        info = @Info(
                title = "服务名称",
                //版本
                version = "0.0",
                description = "说明"
        )
)
@SpringBootApplication
public class DemoOpenApi {
    public static void main(String[] args) {
        SpringApplication.run(DemoOpenApi.class, args);
    }
}
